home *** CD-ROM | disk | FTP | other *** search
- # #
- # #
- # #
- # #
- # #
- # #
- # #
- |---------------B A T C H L R N H E L P S Y S T E M-----------------|
- |command: ECHO |
- |use: The batch command ECHO lets you choose whether or not to have |
- | the commands in your batch file displayed on the CRT screen as they |
- | are performed. ECHO is also used for message display (no commands |
- | are shown). SEE NOTES SECTION BELOW. |
- | |
- |how: Type: ECHO ON O-R ECHO OFF [for message sequencing] |
- | |
- |examples: REFER TO ANY TIMEMASTER .BAT FILES ON THIS DISK |
- | |
- |notes: Commands in a batch file are normally displayed as they are |
- | performed by your computer. If you enter ECHO OFF into a batch file |
- | the commands are not displayed when they are performed. Command dis-|
- | play while a batch processing file is operating can be distracting. |
- | If you display the commands have a good reason for it! |
- | A little known (useless?) feature is to type: ECHO <ret> at the |
- | prompt, which displays current status of ECHO. If you type ECHO OFF |
- | <ret> the prompt will disappear. Type:ECHO ON to restore! |
- | If ECHO is set to OFF,you can use ECHO <your message>to display |
- | text on screen. You can use this ONLY in a batch processing file. |
- | ECHO sends a message to the CRT screen. It helps organize and ex- |
- | plain on the screen when a batch file executes. Normally, all batch |
- | file commands would show on the screen as the file performs. To pre-|
- | vent this echoing type: ECHO OFF at the beginning. In particularly |
- | long batch files you may have to do this after several or all of the|
- | message echoeing sequences. This becomes especially true when you |
- | are commanding the display of multiple page ascii text files or |
- | when showing long files a page at a time with the DOS MORE command. |
- | Your test run of the batch file you create will show you whether or |
- | not additional ECHO OFF cmds are necessary. We always"follow-on"the |
- | ECHO OFF with a CLS on the next line. This keeps the on-screen co- |
- | mmand distraction to a minimum. If you examine the .BAT & .EX files |
- | on this disk you will see the use of ECHO in TIMEMASTER'S efforts. |
- | When ECHO is OFF none of the actual DOS commands in the batch |
- | file will show on the screen. To display a message put it after tbe |
- | command: ECHO . . .MY DOG HAS FLEAS!. . . |
- | (Watch the placement, trying for message centering on the screen). |
- | As you will see in REM.HLP,that command also displays messages. |
- | You will learn,however, that is not the case if ECHO is OFF. |
- | |
- |----------------- T I M E M A S T E R ---------------------|